package com.itheima.d4_abstract_template_method;

// 作文的模板
public abstract class Template {
    public final void putBridge(){
        System.out.println("1:打开冰箱");
        putObject();
        System.out.println("3:关闭冰箱");
    }

    public abstract void putObject();
}
